import config from 'config'
const {prefix} = config

export function getToken () {
  return localStorage.getItem(`${prefix}token`)
}

export function setToken (token) {
  localStorage.setItem(`${prefix}token`, token)
}
